<include file="../header" title="account" />
<div class="reg">
    <div class="form">
        <form action="{:U('account/do_reg')}" method="post" id="reg-form">
            <table>
              <tr>
                <td class="title"><label for="field-name">{:L('name')}</label></td>
                <td colspan="2"><input type="text" id="field-name" required name="name" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title">{:L('gender')}</td>
                <td><input type="radio" required name="gender" id="gender-1" value="male"/>
                  <label for="gender-1">{:L('male')}</label></td>
                <td><input type="radio" required name="gender" id="gender-2" value="female"/>
                  <label for="gender-2">{:L('female')}</label></td>
              </tr>
              <tr>
                <td class="title"><label for="field-uni">{:L('university')}</label></td>
                <td colspan="2"><input type="text" required id="field-uni" name="university" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title"><label for="field-acatit">{:L('academic-title')}</label></td>
                <td colspan="2"><input type="text" required id="field-acatit" name="academic_title" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title"><label for="field-position">{:L('job-position')}</label></td>
                <td colspan="2"><input type="text" id="field-position" name="position" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title"><label for="field-tele">{:L('telephone')}</label></td>
                <td  colspan="2"><input type="text" id="field-tele" name="telephone" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title"><label for="field-email">{:L('email')}</label></td>
                <td  colspan="2"><input type="email" id="field-email" name="email" required class="auto-width" /></td>
              </tr>
              <!--tr>
                <td class="title"><label for="field-diet">{:L('special-diet')}</label></td>
                <td colspan="2"><input type="text" id="field-diet" name="diet" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title">{:L('single-or-standard-room')}</td>
                <td><input type="radio" required name="room" id="room-2" value="2"/>
                  <label for="room-2">{:L('standard-room')}</label></td>
                <td><input type="radio" required name="room" id="room-1" value="1"/>
                  <label for="room-1">{:L('single-room')}</label></td>
              </tr>
              <tr>
                <td class="title">{:L('field-trip-participation')}</td>
                <td><input type="radio" required name="trip" id="trip-1" value="2"/>
                  <label for="trip-1">{:L('yes')}</label></td>
                <td><input type="radio" required name="trip" id="trip-2" value="1"/>
                  <label for="trip-2">{:L('no')}</label></td>
              </tr>
              <tr>
                <td class="title"><label for="field-arrival">{:L('arrival')}</label></td>
                <td colspan="2"><input type="date" required id="field-arrival" name="arrival" class="auto-width" /></td>
              </tr>
              <tr>
                <td class="title"><label for="field-departure">{:L('departure')}</label></td>
                <td colspan="2"><input type="date" required id="field-departure" name="departure" class="auto-width" /></td>
              </tr-->
            </table>
            <div class="btns">
                <a href="###" id="fake-submit-btn">{:L('submit')}</a>
                <input type="submit" id="real-submit-btn" value="submit" />
            </div>
        </form>
    </div>
<!--     <div class="note">
        <h1>{:L('note')}:</h1>
        <ol>
            <li>{:L('form-note-1')}</li>
            <li>{:L('form-note-2')}</li>
        </ol>
    </div> -->
</div>
<include file="../footer" />
<script type="text/javascript">
    $('#fake-submit-btn').click(function(){
        $('#real-submit-btn').click();
    });
</script>